<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改OBU升级记录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-appupgradelog-edit" th:object="${aAppUpgradelogs}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">开始升级时间：</label>
                <div class="col-sm-8">
                    <input name="startUpgradeTime" th:field="*{startUpgradeTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">结束升级时间：</label>
                <div class="col-sm-8">
                    <input name="endUpgradeTime" th:field="*{endUpgradeTime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">服务站名称：</label>
                <div class="col-sm-8">
                    <input name="serStaName" th:field="*{serStaName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">操作员账号：</label>
                <div class="col-sm-8">
                    <input name="accountName" th:field="*{accountName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">手持机端号：</label>
                <div class="col-sm-8">
                    <input name="termNumber" th:field="*{termNumber}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">升级状态：</label>
                <div class="col-sm-8">
                    <input name="upgradeStatus" th:field="*{upgradeStatus}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "appupgradelog/appupgradelog";
        $("#form-appupgradelog-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-appupgradelog-edit').serialize());
            }
        }
    </script>
</body>
</html>